package com.productserver.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author wjn.
 * @Date 2020/11/13 - 22:52.
 */
@FeignClient(value = "ORDERSERVER" )//fallbackFactory="com.productserver.factory.ErrorFactory.class"
public interface Feign {
    @RequestMapping("getABC")
    public String getAllBug();
}
